package com.ywy.controller;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.util.SystemPropertyUtils;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


import com.ywy.entity.ClothSize;
import com.ywy.entity.Color;
import com.ywy.service.ClothSizeService;
import com.ywy.service.ColorService;

@RestController
public class ColorController {
	
	@Autowired
	private ColorService cs;
	
	@RequestMapping(value="admin/index/getcolor", produces = "application/json;charset=utf-8" )
	public List<Color> getColorInfo() {
		return cs.getColorInfo();
	}

}
